package com._520it.crm.service;

import com._520it.crm.domain.Vehicle;

import java.util.List;

/**
 * Created by Administrator on 2017/5/13.
 */
public interface IVehicleService {
    int deleteByPrimaryKey(Long id);

    int insert(Vehicle record);

    Vehicle selectByPrimaryKey(Long id);

    List<Vehicle> selectAll();

    int updateByPrimaryKey(Vehicle record);

    List<Vehicle> selectPage(int current, int size, String name, String vehicleModel, String classify, Integer busload, String carrying, String carPrice);

    int selectPageCount(int current, int size, String name, String vehicleModel, String classify, Integer busload, String carrying, String carPrice);
}

